import axiosserver from '../utils/request'


export function userLogin(params){
    // console.log(params)
    return axiosserver({
        method:'POST',
        url:'/login',
        data:params,
    })
}

export function userRegister(params){
    // console.log(params)
    return axiosserver({
        method:'POST',
        url:'/register',
        data:params
    })
}

export function likeFavorite(params){
    // console.log(params)
    return axiosserver({
        method:'POST',
        url:'/user/like',
        data:params
    })
}
